import Request from "@/util/request.js";

const apiRequest = new Request();

// 获取数据库的所有表
export const getListApi = async (url, data) => {
    return await apiRequest.post(url, data);
}

// 更新数据
export const updateDataApi = async (url, data) => {
    return await apiRequest.post(url, data);
}

// 删除数据
export const deleteDataApi = async (url, data) => {
    return await apiRequest.post(url, data);
}